package com.rao.crm.service;

import com.rao.crm.pojo.Customer;
import com.rao.crm.pojo.QueryVo;
import com.rao.crm.utils.Page;

/**
 * @author Srao
 * @version 1.0
 * @className CustomerService
 * @date 2019/10/6 15:52
 * @package com.rao.crm.service
 * @description
 */
public interface CustomerService {
    Page<Customer> findCustomerByQueryVo(QueryVo queryVo);

    Customer findCustomerById(Long id);

    void updateCustomerById(Customer customer);

    void deleteCustomerById(Long id);

    void addCustomer(Customer customer);
}
